﻿<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Happy Couple</title>
	<link rel=stylesheet type="text/css" href="/css/base.css">
	<link rel="shortcut icon" href="/img/myico.ico" >
	
	{% block cssAndjava %} {% endblock cssAndjava %} 
</head>

{% block mybody %}
<body onload="base_height()">
{% endblock mybody %}
<script>
	function base_height(){
	var h=window.screen.availHeight-220;
	var high=document.getElementById("base");
	high.style.height=h+"px";
	}
</script>

<div class="main" id="base">
	<!-- 标题 -->
	<div class="header">
		<!-- 菜单 -->
		<div class="menu">
			<ul>
				<li><a href="/index">首页</a></li>
				<li class="menuDiv"></li>
				<li><a href="/budget">预算控制</a></li>
				<li class="menuDiv"></li>
				<li><a href="/scheduler">日程安排</a></li>
				<li class="menuDiv"></li>
				<li><a href="/attention">学堂</a></li>
			</ul>
		</div>
		<div class="base_pic"></div>
	</div>
	<!-- 内容 -->
	<div class="pagebody">
		<div class="pageside">
			{% block pageside %}
			<p>页边</p>
			{% endblock pageside %}
		</div>
		<div class="mainbody">
			{% block mainbody %}
			<p>主体</p>
			{% endblock mainbody %}
		</div>
	</div>
</div>

</body>
</html>
	